﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using BOSS.Framework.Search.Result;
using BOSS.Framework.Search.Context;

namespace BOSS.Framework.Search
{
    /// <summary>
    /// 搜索服务接口
    /// </summary>
    public interface ISearchService : ISearchContextFactory
    {
        /// <summary>
        /// 进行搜索
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        ISearchResult Search(ISearchContext context);
    }
}
